<!--
 * @Description: 
 * @Version: 1.0
 * @Autor: gaoluo
 * @Date: 2021-09-10 11:32:46
 * @LastEditors: gaoluo
 * @LastEditTime: 2021-09-10 11:47:00
 * @FilePath: /nhw/src/components/Echarts/EchartsPie/test.vue
-->
<template>
  <div class="wrap">
    <EchartsPie :data="data" />
  </div>
</template>

<script>
import "lib-flexible";
import "@/style/global.less";
import EchartsPie from "./index.vue";
export default {
  name: "NhwText",

  components: { EchartsPie },

  directives: {},

  data() {
    return {
      data: [
        { value: 1048, name: "搜索引擎" },
        { value: 735, name: "直接访问" },
        { value: 580, name: "邮件营销" },
        { value: 484, name: "联盟广告" },
        { value: 300, name: "视频广告" },
        { value: 330, name: "视频广告2" },
      ],
    };
  },

  mounted() {},

  methods: {},
};
</script>

<style lang="less" scoped>
.wrap {
  height: 100%;
  width: 100%;
}
</style>